<template>
  <div>
    <div class="mb-5">
      <Header></Header>
    </div>
    <div id="app">
      <div class="container">
        <router-view :key="this.$route.fullPath"/>
      </div>
    </div>

    <div>
      <Footer></Footer>
    </div>
  </div>
</template>

<script>
import Header from "@/component/layout/Header";
import Footer from "@/component/layout/Footer";
import { getLang, setLang } from "@/util/auth"

export default {
  name: "App",
  components: { Header, Footer },
  created() {
    setLang(getLang())
    this.$i18n.locale = getLang()
  }
};
</script>

<style>
</style>
